package com.tf_cut.backend.person.service;


import com.tf_cut.backend.common.pojo.Result;
import com.tf_cut.backend.common.service.CommonServiceImpl;
import com.tf_cut.backend.person.pojo.Person;
import com.tf_cut.backend.person.pojo.PersonAccount;
import com.tf_cut.backend.person.repository.PersonAccountRepository;
import com.tf_cut.backend.person.repository.PersonRepository;
import com.tf_cut.backend.person.vo.PersonAndAccountVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Service
@Transactional
@Slf4j
public class PersonAccountServiceImpl extends CommonServiceImpl<PersonAndAccountVo, PersonAccount, String> implements PersonAccountService {

    @PersistenceContext
    private EntityManager em;
    @Autowired
    private PersonAccountRepository personAccountRepository;


}
